package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 历史记录对象 sys_history
 * 
 * @author riddou
 * @date 2022-04-15
 */
public class SysHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long historyId;

    /** 映射评审记录id */
    private Long reviewId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operator;

    /** 操作人角色 */
    @Excel(name = "操作人角色")
    private String rolename;

    /** 项目id */
    @Excel(name = "项目id")
    private Long projectId;

    /** 操作类型:  0: 项目状态，1：项目进度 */
    @Excel(name = "操作类型:  0: 项目状态，1：项目进度")
    private Long type;

    /** 进度 */
    @Excel(name = "进度")
    private Long stage;

    /** 进度 */
    @Excel(name = "历史记录状态")
    private Long state;

    public Long getState() {
        return state;
    }

    public void setState(Long state) {
        this.state = state;
    }

    /** 操作 */
    @Excel(name = "操作")
    private Long operation;

    public Long getHistoryId() 
    {
        return historyId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getReviewId() {
        return reviewId;
    }

    public void setReviewId(Long reviewId) {
        this.reviewId = reviewId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }
    public void setRolename(String rolename) 
    {
        this.rolename = rolename;
    }

    public String getRolename() 
    {
        return rolename;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setStage(Long stage) 
    {
        this.stage = stage;
    }

    public Long getStage() 
    {
        return stage;
    }
    public void setOperation(Long operation) 
    {
        this.operation = operation;
    }

    public Long getOperation() 
    {
        return operation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("historyId", getHistoryId())
            .append("userId", getUserId())
            .append("operator", getOperator())
            .append("rolename", getRolename())
            .append("projectId", getProjectId())
            .append("type", getType())
            .append("stage", getStage())
            .append("operation", getOperation())
            .append("createTime", getCreateTime())
            .toString();
    }
}
